package ooo.reindeer.data.annotation;

import io.netty.buffer.ByteBuf;
import ooo.reindeer.data.option.Type;

import java.lang.annotation.*;
import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Function;

/**
 * @ClassName Stream
 * @Author songbailin
 * @Date 2022/8/17 09:07
 * @Version 1.0
 * @Description TODO
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Inherited
public @interface Stream {
    Class clazz();
    String keyFieldName() default "";

    Type type() default Type.Stream;
}
